<?php
/* @var $this TeamController */
/* @var $model Team */

$this->breadcrumbs=array(
	'Management'=>array('/site/management/'),
	'Maintenance'=>array('/site/maintenance/'),
	'Teams'=>array('admin'),
	'Update',
);

if(Yii::app()->user->can_create_edit_roles){

	$this->menu=array(
		array('label'=>'Create a Team', 'url'=>array('create')),
		array('label'=>'View Team', 'url'=>array('view', 'id'=>$model->idteam)),
		array('label'=>'Back to Team Management', 'url'=>array('admin')),
	);
} else {
	$this->menu=array(
		array('label'=>'View Team', 'url'=>array('view', 'id'=>$model->idteam)),
		array('label'=>'Back to Team Management', 'url'=>array('admin')),
	);
}
?>

<h1>Updating <?php echo $model->short_name; ?> Team</h1>

<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>